<?php
	################################################
	#   SUPPRESSION D'OBJETS CMPLX FORMULAIRE 	   #
	################################################
	
	require_once "../db/mysql/tbr.php";
	require_once "../classes/forms.cls.php";
	require_once "../conf/config.php";
	
	
	/****  CONNECTION TO RDBMS SERVER ****/	
	require_once "../db/mysql/tbr.ini.php";
	/***********************************/
	
	
	$form = new svq_form();
	$formTable = 'svq_cplx';
	$lineTable = 'svq_cplxline';
	$formLineTable = 'svq_cplx_line';	
	$formId = $_REQUEST['cplxid'];
		
	
	$___ = $form->deleteCplx($base,$formTable,$lineTable,$formLineTable,$formId);  //let's
	if($___) echo 1;
	else echo $formId.'#';
	echo '#'.$formId.'#'
	
?>